//导入模块
const Sequelize = require('sequelize')
//配置数据库链接对象
const sequelize = new Sequelize('graduation_pro','root',123456,{
    host:'localhost',
    port:3306,
    dialect:'mysql',
    pool:{
        max:5,//连接池最大链接数量
        min:0,
        idle:1000,
    },
    debug:true
})
module.exports ={
    sequelize
}
